package com.nit.lab.entity.medical;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.util.Date;

public class InfoEntity {

    private Long key;
    private Long infoId;

    public InfoEntity() {
    }

    public InfoEntity(Long key, Long infoId, String sensorId, String infoImage, Date gmtCreate) {
        this.key = key;
        this.infoId = infoId;
        this.sensorId = sensorId;
        this.infoImage = infoImage;
        this.gmtCreate = gmtCreate;
    }

    private String sensorId;
    private String infoImage;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date gmtCreate;

    public Long getKey() {
        return key;
    }

    public void setKey(Long key) {
        this.key = key;
    }

    public Long getInfoId() {
        return infoId;
    }

    public void setInfoId(Long infoId) {
        this.infoId = infoId;
    }

    public String getSensorId() {
        return sensorId;
    }

    public void setSensorId(String sensorId) {
        this.sensorId = sensorId;
    }

    public String getInfoImage() {
        return infoImage;
    }

    public void setInfoImage(String infoImage) {
        this.infoImage = infoImage;
    }

    public Date getGmtCreate() {
        return gmtCreate;
    }

    public void setGmtCreate(Date gmtCreate) {
        this.gmtCreate = gmtCreate;
    }
}
